package com.hyh.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Summerday
 * //该注解用于向使用consul或者zookeeper作为注册中心时注册服务
 */
@SpringBootApplication
@EnableDiscoveryClient
public class OrderConsul80Application
{
    public static void main(String[] args) {
        SpringApplication.run(OrderConsul80Application.class, args);
    }
}